const Mock = require('mockjs')

module.exports = function (req) {
  const result = {
    list:[
    {id:0,name:'总听课时长',time:18907.6},
      {id:1,name:'巡课节次',time:128},
      {id:2,name:'听课节次',time:196},
      {id:3,name:'听课教师',time:164},
      {id:4,name:'评课节次',time:128},
      {id:5,name:'听课节次',time:128},
      {id:6,name:'听课节次',time:128},
      {id:7,name:'听课节次',time:128}
  ]}
  return {
    "result": result,
    "error": null,
    "success": true,
    "code": "10000",
    "datetime": Date.now(),
  }
};


// module.exports = function (req) {
//   const result = Mock.mock({
//     'list|1-10': [{
//         'id|+1': 1,

//     }]
// })
